var str = '床前明月光，疑是地上霜。'

console.log(str)

for (var i = 0 ; i < str.length ; i++){
    console.log(str[i])
}